package com.xnyzc.lhy.didi.mapper.xiecheng;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xnyzc.lhy.didi.entity.param.xiecheng.request.VehicleInfoDTO;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.repository.query.Param;

public interface VehicleInfoMapper extends BaseMapper<VehicleInfoDTO> {

    @Select("SELECT COUNT(*) FROM xc_vehicle_info WHERE vehicle_id = #{vehicleId}")
    int getCountById(@Param("vehicleId") long vehicleId);
}
